package cn.tedu._07vehicle.mapper;

import cn.tedu._07vehicle.pojo.dto.VehicleListQuery;
import cn.tedu._07vehicle.pojo.entity.Vehicle;
import cn.tedu._07vehicle.pojo.vo.VehicleListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author tune_the last
 * @date 2025/11/14 - 16:03
 */
public interface VehicleMapper {
    int insertVehicle(Vehicle vehicle);


    List<VehicleListVO> selectByCondition(@Param("query") VehicleListQuery vehicleListQuery, Long userId);

    int deleteVehicle(Long vehicleId, Long userId);
}
